package com.cloudwise.service;

import java.util.List;
import java.util.Map;

/**
 * @author ：Teacher陈（86521760@qq.com）
 * @date ：Created in 2021/9/10 9:55
 * @description：用户的业务接口
 * @modified By：
 * @version: 1.0
 */
public interface UserInfoService {
    List<Map<String,Object>> findAllUserInfo(Map map);
    Map<String ,Object> findUserByUserNameAndPassword(String  username,String password);
    Map<String ,Object> findUserByUserName(String  username);
    Map<String ,Object> findUserById(int  id);
    boolean addUser(Map map);
    boolean deleteUserById(int id );
    boolean deleteUser(Map  map );
    int findAllCount();
}
